package com.oa.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("用户修改对象")
@Data
public class UserPutDTO {

    @ApiModelProperty(value = "主键")
    @NotNull(message = "ID不能为空")
    private String id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "公司")
    private String companyId;

    @ApiModelProperty(value = "部门id")
    private String departmentId;

    @ApiModelProperty("组")
    private String groupId;

    @ApiModelProperty(value = "岗位id")
    private String postId;

    @ApiModelProperty(value = "职务")
    private String duty;

    @ApiModelProperty(value = "指纹编号")
    private String fingerprintNumber;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "微信ID")
    private String wechatId;

    @ApiModelProperty(value = "授权状态(1-启用  2-禁用)")
    private Integer authorizationStatus;

    @ApiModelProperty(value = "工号")
    private String jobNo;
}
